package com.dykj.fireFighting.api.base.dev.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;


/**
 * @Description 消防水系统设备运行记录
 * @Author LIJIANJIE
 * @Date  2021-07-12 15:09:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "消防水系统设备运行记录")
@TableName("dev_his_water")
public class DevHisWater extends Model<DevHisWater> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
    @ApiModelProperty(value = "主键")
	@TableId
	private String id;
	/**
	 * 设备id
	 */
    @ApiModelProperty(value = "设备id")
	@TableField("relation_id")
	private String relationId;
	/**
	 * 主机code
	 */
    @ApiModelProperty(value = "主机code")
	@TableField("unique_code")
	private String uniqueCode;
	/**
	 * 数据上传时间
	 */
    @ApiModelProperty(value = "数据上传时间")
	@TableField("upload_time")
	private String uploadTime;
	/**
	 * 采样时间
	 */
    @ApiModelProperty(value = "采样时间")
	@TableField("state_time")
	private String stateTime;
	/**
	 * 系统类型
	 */
    @ApiModelProperty(value = "系统类型")
	@TableField("sys_type")
	private String sysType;
	/**
	 * 系统地址
	 */
    @ApiModelProperty(value = "系统地址")
	@TableField("sys_address")
	private String sysAddress;
	/**
	 * 部件类型
	 */
    @ApiModelProperty(value = "部件类型")
	@TableField("component_Type")
	private String componentType;
	/**
	 * 部件地址
	 */
    @ApiModelProperty(value = "部件地址")
	@TableField("component_address")
	private String componentAddress;
	/**
	 * 部件状态
	 */
    @ApiModelProperty(value = "部件状态")
	@TableField("component_status")
	private String componentStatus;
	/**
	 * 部件说明
	 */
    @ApiModelProperty(value = "部件说明")
	@TableField("component_explain")
	private String componentExplain;
	/**
	 * 模拟量类型
	 */
    @ApiModelProperty(value = "模拟量类型")
	@TableField("moni_type")
	private String moniType;
	/**
	 * 模拟量值
	 */
    @ApiModelProperty(value = "模拟量值")
	@TableField("moni_value")
	private String moniValue;
	/**
	 * 计算后的水位/水压值
	 */
    @ApiModelProperty(value = "计算后的水位/水压值")
	@TableField("calculation_value")
	private Double calculationValue;

	/**
	 * 复核状态 0未  1已
	 */
	@ApiModelProperty(value = "复核状态")
	@TableField("status")
    private String status;

	/**
	 * 复核状态 0未  1已
	 */
	@ApiModelProperty(value = "复核状态")
	@TableField("fuhe_content")
	private String  fuheContent;

	/**
	 * 复核状态 0未  1已
	 */
	@ApiModelProperty(value = "复核时间")
	@TableField("fuhe_time")
	private Date fuheTime;

	/**
	 * 复核状态 0未  1已
	 */
	@ApiModelProperty(value = "复核状态")
	@TableField("fuhe_person")
	private String fuhePerson;
	@ApiModelProperty(value = "复核人id")
	@TableField("fuhe_person_id")
	private String fuhePersonId;
	@TableField("import_part")
	private String importPart;
	/**
	 * 复核状态 0未  1已
	 */
	@ApiModelProperty(value = "是否有效复核")
	@TableField("is_effective")
	private Integer isEffective;



}
